package org.springblade.modules.platform.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author SYG
 * @since 2023-07-10
 */
@TableName("measuring_chain_platform_type")
public class MeasuringChainPlatformType extends Model<MeasuringChainPlatformType> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 测量连ID
     */
    @ApiModelProperty(value = "测量连ID")
    private Long measuringChainId;

    /**
     * 1：正向；2：逆向
     */
    @ApiModelProperty(value = "1：正向；2：逆向")
    private Integer measuringTypeCode;

    /**
     * 测量连方向
     */
    @ApiModelProperty(value = "测量连方向")
    private String measuringTypeName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMeasuringChainId() {
        return measuringChainId;
    }

    public void setMeasuringChainId(Long measuringChainId) {
        this.measuringChainId = measuringChainId;
    }

    public Integer getMeasuringTypeCode() {
        return measuringTypeCode;
    }

    public void setMeasuringTypeCode(Integer measuringTypeCode) {
        this.measuringTypeCode = measuringTypeCode;
    }

    public String getMeasuringTypeName() {
        return measuringTypeName;
    }

    public void setMeasuringTypeName(String measuringTypeName) {
        this.measuringTypeName = measuringTypeName;
    }



    @Override
    public String toString() {
        return "MeasuringChainPlatformType{" +
        "id=" + id +
        ", measuringChainId=" + measuringChainId +
        ", measuringTypeCode=" + measuringTypeCode +
        ", measuringTypeName=" + measuringTypeName +
        "}";
    }
}
